<!--

    Copyright 2017, Huawei Technologies Co., Ltd.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->

<div class="headerTitle">{{message}}</div>
<br>
<br>
<div class="panel panel-default">
    <table ng-table="vpnConnTable" class="table table table-striped table-hover table-bordered lctable"  show-filter="true">
        <tr ng-repeat="vpnConnData in $data">
            <!--<td header="'ng-table/headers/checkbox.html'">
                <input type="checkbox" ng-model="checkboxes.items[overlayData.id]" />
            </td>-->
            <td title="'Id'" filter="{ id: 'text'}" sortable="'id'">
                {{vpnConnData.id}}
            </td>
            <td title="'Name'" filter="{ name: 'text'}" sortable="'name'">
                {{vpnConnData.name}}
            </td>
            <td title="'Description'" filter="{ description: 'text'}" sortable="'description'">
                {{vpnConnData.description}}
            </td>
            <td title="'Port : Deploy Status'" filter="{ deployStatus: 'number'}" sortable="'deployStatus'">
                {{vpnConnData.deployStatus}}
            </td>
            <td title="'Action State'" filter="{ actionState: 'text'}" sortable="'actionState'">
                {{vpnConnData.actionState}}
            </td>
            <td title="'Port : Running Status'" filter="{ runningStatus: 'number'}" sortable="'runningStatus'">
                {{vpnConnData.runningStatus}}
            </td>
            <td title="'Port : Route Type'" filter="{ routeType: 'number'}" sortable="'routeType'">
                {{vpnConnData.routeType}}
            </td>

            <!--<td title="'Action'">
                &lt;!&ndash;<span class="pull-right glyphicon glyphicon-edit" ng-click="editData(overlayData.id)" style="cursor: pointer;margin: 0 5px"></span>&ndash;&gt;
               <span  ng-click="deleteIndividualData(overlayData.id)" style="cursor: pointer;margin: 0 5px"><img src="/openoui/framework/browser/thirdparty/images/delete.png" height="15" align="middle"/></span>
            </td>-->
        </tr>
    </table>
</div>

<script type="text/ng-template" id="ng-table/headers/checkbox.html">
    <input type="checkbox" ng-model="checkboxes.checked" name="filter-checkbox" value="" />
</script>
